package com.chuanggou.goods.dao;
import com.chuanggou.goods.pojo.Category;
import tk.mybatis.mapper.common.Mapper;

/****
 * @Author:admin
 * @Description:Category的Dao
 * @Date 2019/6/14 0:12
 *****/
public interface CategoryMapper extends Mapper<Category> {
   /* *//**根据父节点查询所有子分类*//*
    @Select("SELECT * FROM tb_brand tb,tb_catcgory_brand "+
            "tcb WHERE tb.id=tcb.brand_id AND tcb.catcgory_id=#{pid}")
    List<Category>findByParentId(Integer pid);*/
}
